import request from '@/utils/request'

// 查询租户组列表
export function listTenantConfig(query) {
  return request({
    url: '/system/smyRunConfigTenant/list',
    method: 'post',
    data: query
  })
}

// 新增
export function addTenantConfig(query) {
  return request({
    url: '/system/smyRunConfigTenant/create',
    method: 'post',
    data: query
  })
}

// 删除
export function delTenantConfig(query) {
  return request({
    url: '/system/smyRunConfigTenant/batchDelete',
    method: 'post',
    data: query
  })
}

// 修改
export function editTenantConfig(query) {
  return request({
    url: '/system/smyRunConfigTenant/update',
    method: 'post',
    data: query
  })
}